package com.briup.server.config;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

@Configuration
@ComponentScan("com.briup")
// 扫描Mapper接口，Mybatis会自动为其创建代理类，实现数据库操作
@MapperScan("com.briup.server.mapper")
public class SpringConfig {
}
